<?php
/**
 * web 分拣
 * User: poptser@foxmail.com
 * Date: 2018/1/25
 * Time: 16:03
 */

use Illuminate\Http\Request;


Route::group([
    'namespace' =>  'SortingWeb',
], function () {
    //基本数据 时间 划区 配送商
    Route::post('/getBaseData', 'SortingWebController@getBaseData');
    //未生成拣货单得订单列表
    Route::post('/getOrderPending', 'SortingWebController@getOrderPending');
    //获取单个拣货单最大订单数
    Route::post('/getSortingMaxNum', 'SortingWebController@getSortingMaxNum');
    //设置单个拣货单最大订单数
    Route::post('/setSortingMaxNum', 'SortingWebController@setSortingMaxNum');
    //生成拣货单
    Route::post('/generateSortingOrder', 'SortingWebController@generateSortingOrder');
    //拣货单列表
    Route::post('/getSortingList', 'SortingWebController@getSortingList');
    //正常订单列表
    Route::post('/getNormalOrder', 'SortingWebController@getNormalOrder');
    //获取订单可延迟数据
    Route::post('/getDelayOrderInfo', 'SortingWebController@getDelayOrderInfo');
    //提交订单延迟数据
    Route::post('/setOrderDelay', 'SortingWebController@setOrderDelay');
    //获取可退款商品列表
    Route::post('/getOrderGoods', 'SortingWebController@getOrderGoods');
    //获取问题单列表
    Route::post('/getQuestionOrder', 'SortingWebController@getQuestionOrder');
    //登录
    Route::post('/login', 'LoginController@login');
    //退货处理
    Route::post('/setRefundGoods', 'SortingWebController@setRefundGoods');
    //根据时间获取各个配送合作商的订单情况
    Route::post('/getCompanyList', 'SortingWebController@getCompanyList');
    //获取可选时间段
    Route::post('/getTimeList', 'SortingWebController@getTimeList');
    //获取可选区域
    Route::post('/getAreaList', 'SortingWebController@getAreaList');
    //跳过问题单
    Route::post('/jumpQuestionOrder', 'SortingWebController@jumpQuestionOrder');
});






